package com.kakarote.examine.entity.PO;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 审批节点限时处理人员表
 * </p>
 *
 * @author zyl
 * @since 2022-08-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wk_examine_advanced_config_limit_time_users")
@ApiModel(value = "ExamineAdvancedConfigLimitTimeUsers对象", description = "审批节点限时处理人员表")
public class ExamineAdvancedConfigLimitTimeUsers implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "处理id")
    @TableId(value = "handle_id", type = IdType.ASSIGN_ID)
    private Long handleId;

    @ApiModelProperty(value = "限时处理id")
    private Long limitTimeId;

    @ApiModelProperty(value = "处理人")
    private Long userId;

    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "指定上级")
    private Integer parentLevel;

    @ApiModelProperty(value = "处理顺序")
    private Integer sort;

    @ApiModelProperty(value = "批次id")
    private String batchId;


    @ApiModelProperty(value = "处理类型 0  指定用户 1 指定上级 2 角色 ")
    private Integer type;


}
